import type { UserInfoVO } from './Userlnfo'

type TbDataNews = {
  id: number
  newsId: string
  title: string
  source: string
  digest: string
  postTime: string
  typeName: string
  imgs: string
  content: string
  hits: number
  likes: number
  comments: number
  createdAt: number
  praised: boolean
  images: string[]
}

type TbDateNewsReply = {
  id: number
  newsId: number
  userId: number
  likes: number
  content: string
  createdAt: number
  praised: boolean
  user: UserInfoVO
}

export type { TbDateNewsReply, TbDataNews }
